import request from '@/utils/request.js'

//获取咨询室列表
export const getRoom=()=>{
  return request.get('/room/get')
}

export const addRoom=(data)=>{
  return request.post('/room/add',data)
}

export const updateRoom=(data)=>{
  return request.post('/room/update',data)
}

export const deleteRoom=(data)=>{
  return request.post('/room/delete',data)
}

export const deleteAll=(data)=>{
  return request.post('/room/deleteAll',data)
}
